package com.sctvcloud.pingwu.ui.adapter.holder;

import android.support.v7.widget.RecyclerView;
import android.view.View;
import android.widget.ImageView;


import com.ruihang.generalibrary.ui.widget.CustomEXImageView;
import com.ruihang.generalibrary.ui.widget.CustomFontTextView;
import com.sctvcloud.pingwu.R;
import com.sctvcloud.pingwu.beans.FProgram;

public class LookBackNewsDetailHolder extends RecyclerView.ViewHolder   {
    public CustomEXImageView newsImage;
    public ImageView playIcon;
    public CustomFontTextView newsTitle;
    public CustomFontTextView newsDate;
//    public CustomFontTextView readCount;
    public CustomFontTextView isPlaying;

    private int position;
    private LookBackNewsHolder.OnColumnClickListener listener;
    private LookBackNewsHolder.OnColumnItemClickListener itemClicklistener;
    private FProgram fProgram;

    public LookBackNewsDetailHolder(View view) {
        super(view);
//        itemView.setOnClickListener(this);
        this.listener = listener;
        this.itemClicklistener = itemClicklistener;
        newsImage = (CustomEXImageView) view.findViewById(R.id.item_news_image);
        playIcon = (ImageView) view.findViewById(R.id.item_news_media);


        newsTitle = (CustomFontTextView) view.findViewById(R.id.item_news_title);
        newsDate = (CustomFontTextView) view.findViewById(R.id.item_news_date);
//        readCount = (CustomFontTextView) view.findViewById(R.id.item_news_read_count);
        isPlaying = (CustomFontTextView) view.findViewById(R.id.item_news_playing);
    }

}